import 'package:cms/models/term.dart';

class CmsCategoriesDetailState {
  WpTerm? term;
  bool isLoading;
  CmsCategoriesDetailState({this.term, this.isLoading = true});
  CmsCategoriesDetailState init() {
    return CmsCategoriesDetailState();
  }

  CmsCategoriesDetailState clone() {
    return CmsCategoriesDetailState();
  }

  CmsCategoriesDetailState copyWith({WpTerm? term, bool? isLoading}) {
    return CmsCategoriesDetailState(
      term: term ?? this.term,
      isLoading: isLoading ?? this.isLoading,
    );
  }
}
